// 侧边栏所有菜单数据（后期可以通过接口请求后台生成数据）
const asyncSideMenuList = [
  {
    id: '1',
    path: '/dashboard',
    component: '/views/dashboard/index',
    name: 'Dashboard',
    meta: { title: '信息概览', icon: 'el-icon-s-home', affix: true }
  },
  {
    id: '2',
    path: '/user-man',
    component: '/views/layout/index',
    name: 'UserMan',
    meta: { title: '用户管理', icon: 'el-icon-s-custom' },
    children: [
      {
        id: '201',
        path: '/user-man/user-list',
        component: '/views/user-man/user-list',
        name: 'UserList',
        meta: { title: '用户列表' }
      },
      {
        id: '202',
        path: '/user-man/add-user',
        component: '/views/user-man/add-user',
        name: 'AddUser',
        meta: { title: '添加用户' }
      },
      {
        id: '203',
        path: '/user-man/upd-user',
        component: '/views/user-man/upd-user',
        name: 'UpdUser',
        meta: { title: '修改用户' }
      }
    ]
  }
]

module.exports = { asyncSideMenuList }
